home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Aug 90 / MacApp.Tech$ 8⁄31⁄90 / 1847-The Debugger & MacAp-Aug90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.5 KB  |  50 lines  |  [TEXT/GEOL]

  1. Item    4992296                         28-Aug-90        01:06PDT
  2.  
  3. From:   D1037                           Jasik Designs, Steve Jasik,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    The Debugger & MacApp 2.0
  8.  
  9. Tim,
  10.  
  11.  
  12. IN the process of converting my mods from MacApp 2.0ß9 to MacApp 2.0 Final,
  13. I missed the change in the dispatcher that used to use the low memory globals
  14. MaSuperTab and MAErrProc.
  15. MacApp 2.0 final does not use them.
  16.  
  17. For the present, I suggest that you add the following to my copy of
  18. Uobject.Globals.p in the procedure InitUObject.
  19.  
  20. CONST
  21.     kLMMASuperTab =$BEC; { Obj Pascal Dispatcher:handle to superclass tbl }
  22.     kLMMAErrProc  =$BE8; { Obj Pascal Dispatcher: error proc address }
  23.  
  24. and after the call to  InstallDispatcher;
  25.  
  26. add the following lines:
  27.  
  28.    {$IFC NOT qNeedsROM128K}
  29.    IF gconfiguration.hasROM128K THEN
  30.    {$ENDC}
  31.    BEGIN
  32.    { Be Polite! Make table available to dispatcher }
  33.      PLongInt(kLMMASuperTab)^ := Longint(pSuperClassTable);
  34.      PLongInt(kLMMAErrProc)^ := ord(@%_ObjError);
  35.    END;
  36.  
  37. I will release a revised version of the mods, and The Debugger about
  38. mid September that will eliminate the need for this extra code.
  39.  
  40. "When displaying Objects by Time or Class, the case is wrong for
  41. objects/subclasses declared from C++"
  42.  
  43. I do not believe that the correct info is available from the compilers for
  44. C++ classes.  If you wish to see the values of C++ objects, then look at them
  45. while you are in the procedure that references them.
  46.  
  47. Bring your stuf down Wednesday
  48. Steve
  49.  
  50.